import { Injectable } from '@angular/core';
import { IAlgoUnit } from './models';

@Injectable()
export class FlowGraphService {

  constructor() { }

  getList(): IAlgoUnit[] {
    return [
      { id: "1", name: 'A', type: 'start', color: '#1890FF' },
      { id: "2", name: 'B', type: 'end', color: '#1890FF' },
      { id: "3", name: 'C', type: 'end', color: '#1890FF' },
      { id: "4", name: 'D', type: 'end', color: '#1890FF' },
      { id: "5", name: 'E', type: 'end', color: '#1890FF' },
      { id: "6", name: 'F', type: 'end', color: '#1890FF' },
      { id: "7", name: 'G', type: 'end', color: '#1890FF' },
      { id: "8", name: 'H', type: 'end', color: '#1890FF' },
      { id: "9", name: 'I', type: 'end', color: '#1890FF' },
    ];
  }
}
